{# Slow transactions and lock failures from the last hour (app.core.db_activity), each with the process and the app code behind it. #} {% from "components/macros/layout.html" import card %} {% from "components/macros/table.html" import data_table %}
{% call card("Activity") %}

Transactions held longer than {{ threshold }} s, and statements that found the database locked, in the last hour, with the code behind each.

{{ data_table([ {"key": "when", "label": "When"}, {"key": "what", "label": "What"}, {"key": "process", "label": "Process", "kind": "code"}, {"key": "caller", "label": "Code", "kind": "code"}, ], activity, empty="Nothing slow or locked in the last hour") }} {% endcall %}